package com.ganzi.manager.activiti.service;

import com.ganzi.manager.activiti.request.ModelerRequest;
import com.ganzi.manager.activiti.request.PublishRequest;
import com.ganzi.manager.activiti.request.SaveModelRequest;

import java.util.Map;

public interface ModelerService {
    public Map<String, Object> getModelList();
    public Map<String, Object> create(ModelerRequest modelerRequest);
    public Map<String, Object> publish(PublishRequest publishModelerRequest, boolean isActivitiJson);
    public Map<String, Object> revokePublish(PublishRequest publishModelerRequest);
    public Map<String, Object> deleteModel(PublishRequest publishModelerRequest);
    public Map<String, Object> editModel(PublishRequest publishModelerRequest, boolean isActivitiJson);
    public Map<String, Object> cheakModel(PublishRequest publishModelerRequest, boolean isActivitiJson);
    public Map<String, Object> saveModel(SaveModelRequest saveModelRequest, boolean isActivitiJson);
}
